<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');?>
<?php $this->load->view('common/head');?>
<body class="no-skin">
<?php $this->load->view('common/header');?>
<div class="main-container" id="main-container">
    <script type="text/javascript">
        try {
            ace.settings.check('main-container', 'fixed')
        } catch (e) {
        }
    </script>

    <?php $this->load->view('common/sidebar');?>
    <div class="main-content">
        <div class="main-content-inner">
            <!-- #section:basics/content.breadcrumbs -->
            <?php $this->load->view('common/breadcrumbs');?>

            <!-- /section:basics/content.breadcrumbs -->
            <div class="page-content">

                <?php $this->load->view('common/set');?>

                <!-- /section:settings.box -->
                <div class="row">
                    <div class="col-sm-12">
                        <div class="widget-box">
                            <div class="widget-header widget-header-flat widget-header-small">
                                <h5 style="width: 50%;float: left;">
                                    <i class="icon-signal"></i>
                                    项目总览
                                </h5>
                                <div class="widget-toolbar no-border">
                                    <button class="btn btn-minier btn-primary dropdown-toggle" data-toggle="dropdown">
                                        项目总览
                                        <i class="icon-angle-down icon-on-right bigger-110"></i>
                                    </button>
                                </div>
                            </div>

                            <div class="widget-body">
                                <div class="widget-main">
                                    <div id="piechart-placeholder"></div>
                                    <div class="hr hr8 hr-double"></div>
                                    <div class="clearfix">
                                        <div class="grid3">
                                            <span class="bigger">
                                                <i class="ace-icon fa fa-signal"></i>
                                                &nbsp; 项目总数
                                            </span>
                                            <h4 class="bigger pull-right"><?php echo $allproject;?></h4>
                                        </div>

                                        <div class="grid3">
                                            <span class="grey">
                                                <i class="ace-icon fa fa-signal"></i>
                                                &nbsp; 完成的项目
                                            </span>
                                            <h4 class="bigger pull-right"><?php echo $complete;?></h4>
                                        </div>

                                        <div class="grid3">
                                            <span class="grey">
                                                <i class="ace-icon fa fa-signal"></i>
                                                &nbsp; 正在进行的项目
                                            </span>
                                            <h4 class="bigger pull-right"><?php echo $completing;?></h4>
                                        </div>
                                    </div>
                                </div><!-- /widget-main -->
                            </div><!-- /widget-body -->
                        </div><!-- /widget-box -->
                    </div>

                    <div class="col-sm-12">
                        <div class="widget-box">
                            <div class="widget-header widget-header-flat widget-header-small">
                                <h5 style="width: 50%;float: left;">
                                    <i class="icon-signal"></i>
                                    结算记录
                                </h5>
                                <div class="widget-toolbar no-border">
                                    <button class="btn btn-minier btn-primary dropdown-toggle" data-toggle="dropdown">
                                        结算记录
                                        <i class="icon-angle-down icon-on-right bigger-110"></i>
                                    </button>
                                </div>
                            </div>

                            <div class="widget-body">
                                <div class="widget-main">
                                    <div id="piechart-placeholder"></div>
                                    <div class="hr hr8 hr-double"></div>
                                    <div class="clearfix">
                                        <div class="grid3">
                                            <span class="bigger">
                                                <i class="ace-icon fa fa-signal"></i>
                                                &nbsp; 应结算
                                            </span>
                                            <h4 class="bigger pull-right" id="today_new"><?php echo $allmoney;?></h4>
                                        </div>
                                        <div class="grid3">
                                            <span class="grey">
                                                <i class="ace-icon fa fa-signal"></i>
                                                &nbsp; 已结算
                                            </span>
                                            <h4 class="bigger pull-right" id="today_baoxiu"><?php echo $money;?></h4>
                                        </div>
                                        <div class="grid3">
                                            <span class="grey">
                                                <i class="ace-icon fa fa-signal"></i>
                                                &nbsp; 未结算
                                            </span>
                                            <h4 class="bigger pull-right" id="today_huitui"><?php echo $allmoney-$money;?></h4>
                                        </div>
                                    </div>
                                </div><!-- /widget-main -->
                            </div><!-- /widget-body -->
                        </div><!-- /widget-box -->
                    </div>
<!--                        {$page}-->
                </div><!-- /.row -->
            </div><!-- /.page-content -->
       
    </div><!-- /.main-content -->

<?php $this->load->view('common/footer');?>
</div><!-- /.main-container -->

<?php $this->load->view('common/footerjs');?>
<!-- inline scripts related to this page -->
<script type="text/javascript">


</script>
</body>
</html>
